import { IFeidaoAiMobile } from '@dfeidao/mobile/interfaces';
import WebView from '@dfeidao/widgets-mobile/fd-m000000';
import React from 'react';
import { h5_server } from '../atom/config';

export default function tpl(a: (action: string, ...args: unknown[]) => ((...args: unknown[]) => void), s: (...class_names: string[]) => {}, d: (d: string) => string | number | unknown, fd: IFeidaoAiMobile) {
	const leave_num = d('data');
	const uri = h5_server + '/see-details.html?leave_num=' + leave_num;
	return (
		<WebView fd={fd} ref="webview" uri={uri}
		></WebView >
	);
}
